﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctrHotNews.ascx.cs" Inherits="Controls_News_ctrHotNews" %>
<%@ Register Namespace="ASPnetControls" Assembly="ASPnetPagerV2_8" TagPrefix="cc" %>
<asp:Label ID="lblNews" runat="server"></asp:Label>

<asp:DataList ID="dtlNewsByCat" runat="server" OnItemCommand="dtlNewsByCat_ItemCommand"
    OnItemDataBound="dtlNewsByCat_ItemDataBound">
    <ItemTemplate>
    <div><asp:ImageButton ID="btnImage" runat="server" CommandName="newsimage"/>
    <asp:HyperLink ID="lnkTitle" runat="server" Font-Bold="true"></asp:HyperLink>
    <asp:Label ID="lnkInitData" runat="server"></asp:Label></div>
    </ItemTemplate>
</asp:DataList>
<div id="tblWarning" runat="server">
    <asp:Label ID="lblWarning" runat="server"></asp:Label>
</div>